Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix renewables #855

Merged
merged 1 commit into from
Apr 20, 2021
Merged

Fix renewables #855

merged 1 commit into from
Apr 20, 2021

Conversation

cswhite2000
Copy link
Member

BlockState throws an illegal argument exception if you call setData and the types don't match. So you have to call setType before calling setData.

Fixes #854

Signed-off-by: cswhite2000 <[email protected]>
@cswhite2000 cswhite2000 requested a review from Electroid as a code owner April 19, 2021 21:34
@Pablete1234 Pablete1234 added bug Something isn't working urgent Breaks the plugin labels Apr 19, 2021
@Electroid Electroid merged commit a4b07a5 into PGMDev:dev Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working urgent Breaks the plugin
Development

Successfully merging this pull request may close these issues.

Renewables
3 participants